//
//  Location.m
//  RealatorView
//
//  Created by Ricky Jones on 1/22/09.
//  Copyright 2009 Vaporsoftware. All rights reserved.
//

#import "Location.h"


@implementation Location

	@synthesize LocationID = _id;
	@synthesize Name = _name;
	@synthesize Images = _images;

	@synthesize Address1 = _address1;
	@synthesize Address1 = _address1;
	@synthesize Address2 = _address2;
	@synthesize City = _city;
	@synthesize State = _state;
	@synthesize Zip = _zip;
	@synthesize myLocation = _location;

	-(void) AddImage:(LocationImage*) imageToAdd
	{
		[_images addObject:imageToAdd];
	}

	-(id) init
	{
		[super init];
		_images = [[NSMutableArray alloc] init];
		return self;
	}
@end
